package com.zhu.instructions.store;

import com.zhu.instructions.base.NoOperandsInstruction;
import com.zhu.rtda.Frame;
import com.zhu.rtda.InstanceOop;

public class ASTORE_2 extends NoOperandsInstruction {
    @Override
    public void execute(Frame frame) {
        InstanceOop ref = (InstanceOop) frame.getOperandStack().popRef();
        frame.getLocalVars().setRef(2, ref);
    }
}

